<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>上海交大仪器管理系统</title>
		<link rel="stylesheet" href="css/default.css" type="text/css"></link>
		<jsp:include page="../common/xmeta.jsp"></jsp:include>
		<script type="text/javascript" src="js/main.js" charset="UTF-8"></script>
	</head>

	<body class="easyui-layout guanli" scroll="no" style="overflow-y: hidden">
		<div region="north" split="true" border="false"
			style="overflow: hidden; height: 30px; background: url(images/layout-browser-hd-bg.gif) #7f99be repeat-x center 50%; line-height: 20px; color: #fff; font-family: Verdana, 微软雅黑, 黑体">
			<span style="float: right; padding-right: 20px;" class="head"> <a href="iemployee!loginOut.action?eixt=1" id="loginOut">安全退出</a>
			</span>
			<span style="padding-left: 10px; font-size: 16px;"><img src="images/blocks.gif" width="20" height="20" align="absmiddle" />
				上海交通大学仪器管理系统</span>
		</div>


		<div region="west" hide="true" split="true" title="${title}：${adminLoginer.loginAccount} " style="width: 185px;" id="west"
			empType="${adminLoginer.empType}">
			<div class="easyui-accordion" fit="true" border="false" id="nav">
				<s:if test="#session.adminLoginer.empType > 3">
					<div title="机构管理" style="overflow: auto; padding: 1px;" iconCls="icon icon-sys">
						<ul>
							<li>
								<div>
									<a style="cursor: hand;" href="#" onclick="addTab('机构信息查询', 'department.jsp', this)"> 
										<span class="icon icon-nav">&nbsp;</span><span class="nav">机构信息查询</span>
									</a>
								</div>
							</li>
							<s:if test="#session.adminLoginer.empType > 4">
								<li>
									<div>
										<a style="cursor: hand;" href="#" onclick="addTab('机构信息添加', 'adddpt.jsp', this)"> 
											<span class="icon icon-nav">&nbsp;</span><span class="nav">添加机构信息</span>
										</a>
									</div>
								</li>
							</s:if>
						</ul>
					</div>
				</s:if>

				<div title="预约信息管理" style="overflow: auto; padding: 1px;" iconCls="icon icon-sys">
					<ul>
						<li>
							<div>
								<a href="#" onclick="addTab('预约审批', 'queryAppointments.jsp', this)"> 
									<span class="icon icon-nav">&nbsp;</span><span class="nav">预约审批</span>
								</a>
							</div>
						</li>

						<li>
							<div>
								<a href="#" onclick="addTab('预约历史记录', 'queryAppointmentHistory.jsp', this)">
									<span class="icon icon-nav">&nbsp;</span><span class="nav">预约历史记录</span>
								</a>
							</div>
						</li>
					</ul>
				</div>

				<div title="消费信息管理" style="overflow: auto; padding: 1px;" iconCls="icon icon-sys">
					<ul>
						<li>
							<div>
								<a href="#" onclick="addTab('消费信息查询', 'consumeinfo.jsp', this)">
									<span class="icon icon-nav">&nbsp;</span><span class="nav">消费信息查询</span>
								</a>
							</div>
						</li>

						<s:if test="#session.adminLoginer.empType > 3">
							<li>
								<div>
									<a style="cursor: hand;" href="#" onclick="addTab('充值记录查询', 'chargeLog.jsp', this)">
										<span class="icon icon-nav">&nbsp;</span><span class="nav">充值记录查询</span>
									</a>
								</div>
							</li>
						</s:if>
					</ul>
				</div>

				<div title="用户信息管理" style="overflow: auto; padding: 1px;" iconCls="icon icon-sys">
					<ul>
						<s:if test="#session.adminLoginer.empType > 5">
							<li>
								<div>
									<a style="cursor: hand;" href="#" onclick="addTab('系统管理员信息审核', 'reviewAdminRegister.jsp', this)">
										<span class="icon icon-nav">&nbsp;</span><span class="nav">系统管理员审核</span>
									</a>
								</div>
							</li>
						</s:if>

						<s:if test="#session.adminLoginer.empType > 5">
							<li>
								<div>
									<a style="cursor: hand;" href="#" onclick="addTab('实验室管理员信息审核', 'reviewLabAdminRegister.jsp', this)">
										<span class="icon icon-nav">&nbsp;</span><span class="nav">实验室管理员审核</span>
									</a>
								</div>
							</li>
						</s:if>

						<s:if test="#session.adminLoginer.empType > 4">
							<li>
								<div>
									<a href="#" onclick="addTab('仪器管理员信息审核', 'reviewAppAdminRegister.jsp', this)">
										<span class="icon icon-nav">&nbsp;</span><span class="nav">仪器管理员审核</span>
									</a>
								</div>
							</li>
						</s:if>

						<s:if test="#session.adminLoginer.empType > 3">
							<li>
								<div>
									<a href="#" onclick="addTab('课题组信息审核', 'reviewGroupRegister.jsp', this)"> <span class="icon icon-nav">&nbsp;</span><span
										class="nav">课题组信息审核</span> </a>
								</div>
							</li>
						</s:if>

						<li>
							<div>
								<a style="cursor: hand;" href="#" onclick="addTab('注册用户信息审核', 'reviewRegister.jsp', this)">
									<span class="icon icon-nav">&nbsp;</span><span	class="nav">注册用户审核</span>
								</a>
							</div>
						</li>

						<li>
							<div>
								<a style="cursor: hand;" href="#" onclick="addTab('查询用户信息', 'queryUsers.jsp', this)">
									<span class="icon icon-nav">&nbsp;</span><span class="nav">查询用户信息</span>
								</a>
							</div>
						</li>
					</ul>
				</div>

				<s:if test="#session.adminLoginer.empType > 3">
					<div title="仪器信息管理" style="overflow: auto; padding: 1px;" iconCls="icon icon-sys">
						<ul>
							<s:if test="#session.adminLoginer.empType > 4">
								<li>
									<div>
										<a style="cursor: hand;" href="#" onclick="addTab('仪器分类管理', 'groupApparatus.jsp', this)">
											<span class="icon icon-nav">&nbsp;</span><span class="nav">仪器分类管理</span>
										</a>
									</div>
								</li>
							</s:if>

							<li>
								<div>
									<a style="cursor: hand;" href="#" onclick="addTab('仪器信息查询', 'queryApparatus.jsp', this)"> 
										<span class="icon icon-nav">&nbsp;</span><span class="nav">仪器信息查询</span>
									</a>
								</div>
							</li>

							<s:if test="#session.adminLoginer.empType > 4">
								<li>
									<div>
										<a style="cursor: hand;" href="#" onclick="addTab('仪器信息添加', 'addApparatus.jsp', this)"> 
											<span class="icon icon-nav">&nbsp;</span><span class="nav">仪器信息添加</span>
										</a>
									</div>
								</li>
							</s:if>
						</ul>
					</div>
				</s:if>

				<div title="个人信息管理" style="overflow: auto; padding: 1px;" iconCls="icon icon-sys">
					<ul>
						<li>
							<div>
								<a style="cursor: hand;" href="#" onclick="addTab('个人资料管理', 'iemployee-admin!gotoPersonalInfo.action?empID=${adminLoginer.empID}', this)"> 
									<span class="icon icon-nav">&nbsp;</span><span class="nav">个人资料管理</span>
								</a>
							</div>
						</li>
						
						<s:if test="#session.adminLoginer.empType == 6">
							<li>
								<div>
									<a style="cursor: hand;" href="#" onclick="addTab('初始化密码', 'initSec.jsp', this)"> 
										<span class="icon icon-nav">&nbsp;</span><span class="nav">初始化密码</span>
									</a>
								</div>
							</li>
						</s:if>
						
						
						<li>
							<div>
								<a style="cursor: hand;" href="#" onclick="addTab('修改密码', 'updateSec.html', this)"> 
									<span class="icon icon-nav">&nbsp;</span><span class="nav">修改个人密码</span>
								</a>
							</div>
						</li>
					</ul>
				</div>
			</div>
		</div>

		<div region="center" title="" style="background: #eee;">
			<div class="easyui-tabs" id="content" fit="true" border="false" kk="dd">
				<div title="欢迎使用" style="padding: 20px; overflow: hidden; color: red;" closable="true">

				</div>
			</div>
		</div>

		<div id="mm" class="easyui-menu" style="width: 150px;">
			<!-- 
			<div id="mm-tabupdate">
				刷新
			</div>
			<div class="menu-sep"></div>
			 -->
			<div id="mm-tabclose">
				关闭
			</div>
			<div id="mm-tabcloseall">
				全部关闭
			</div>
			<div id="mm-tabcloseother">
				除此之外全部关闭
			</div>
			<div class="menu-sep"></div>
			<div id="mm-tabcloseright">
				当前页右侧全部关闭
			</div>
			<div id="mm-tabcloseleft">
				当前页左侧全部关闭
			</div>
			<div class="menu-sep"></div>
			<div id="mm-exit">
				退出
			</div>
		</div>
	</body>
</html>